package com.itheima.stream;

import java.io.FileWriter;
import java.io.IOException;

/**
 * 2025/5/10 10:02
 * 演示FileWriter的使用，写出数据
 */
public class FileWriterDemo {
    public static void main(String[] args) throws IOException {

        FileWriter fw = new FileWriter("day11-io/info2.txt",true);

        fw.write(97);
        fw.write("HelloWorld");
        fw.write("你好");

        fw.close();

    }
}
